package cn.king.sys.service.impl;

import cn.king.basic.service.impl.BaseServiceImpl;
import cn.king.sys.domain.Dictionaries;
import cn.king.sys.mapper.DictionariesMapper;
import cn.king.sys.service.DictionariesServiceI;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * DictionariesService实现类
 */
@Service
/** 1.将当前类交给Spring管理 2.实例化对象注解 3.创建对象的疏解；前提：扫描包路径 */
/** 支持当前事务，如果没有当前事务，就以非事务方法执行。 */
public class DictionariesServiceImpl extends BaseServiceImpl<Dictionaries> implements DictionariesServiceI {

    @Autowired
    private DictionariesMapper dictionariesMapper;

    @Override
    public void delTypeId(Long typeId) {
        dictionariesMapper.delTypeId(typeId);
    }
}
